#pragma once
#include "State/GameState.h"

namespace LTGame{

	class ST_RUN :
		public GameState
	{
	public:
		ST_RUN(GST_FLAG flag);
		~ST_RUN(void);
		void paint(void);
		bool logic(void);
		void logicTime(void);

	public:
		virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent);
		virtual void ccTouchMoved(CCTouch *pTouch, CCEvent *pEvent);
		virtual void ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent);
		static const short PLANE_breakTime = 200;

	private:
		//CCPoint prePoint, curPoint;
	};

}

